#define _CRT_SECURE_NO_WARNINGS 1
template <class T>
class Less
{
public:
	bool operator()(T x, T y)
	{
		return x < y;
	}
};

template <class T>
class Greater
{
public:
	bool operator()(T x, T y)
	{
		return x > y;
	}
};